﻿Shader "hamwj1991/PBR" {
	Properties {
		LinearRoughness("LinearRoughness", Range(0, 1)) = 0.2
		[HDR] Reflectance("Reflectance", Color) = (1, 1, 1, 1)
		[HDR] DiffuseColor("DiffuseColor", Color) = (1, 1, 1, 1)
		MapSpecularLD("MapSpecularLD", Cube) = "Default" {}
		MapDiffuseLD("MapDiffuseLD", Cube) = "Default" {}
		MapDFG("MapDFG", 2D) = "Default" {}
	}
	SubShader {
		Tags {"RenderType" = "Opaque" "LightMode" = "ForwardBase"}
		Pass {
			HLSLPROGRAM
			#pragma vertex vert
			#pragma fragment frag
			#pragma target 5.0
			#include "PBR.hlsl"
			ENDHLSL
		}
	}
}